package com.ydd.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FrontNewListDTO  implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer count;// 总数
    private Integer totalPages; // 总页数
    private Integer currentPage; // 当前页码
    private Integer pageSize; // 页码大小
    private Object[] data; // 列表数据

}
